package com.yygo.service;

import com.yygo.model.LoanPerson;
import com.yygo.model.LoanRequest;

import java.util.List;
import java.util.Set;

/**
 * Created by tiansha on 2015/7/8.
 */
public interface LoanPersonManager extends GenericManager<LoanPerson, Long> {

    List<LoanRequest> findByIdNo(LoanRequest loanRequest);
    List<LoanRequest> findByIdentity(LoanRequest loanRequest, int days);
    List<LoanRequest> findByProperty(LoanRequest loanRequest, String property, int days);

    List<LoanRequest> findByAddress(LoanRequest loanRequest, int days);
    List<LoanRequest> findByCompanyAddress(LoanRequest loanRequest, int days);

    List<LoanRequest> findByUrgentNo(LoanRequest loanRequest, int days);
}
